// 处理formConfigData数据逻辑
export default function(list) {
	let obj = {}
	for (let i in list) {
		if (list[i].labelType === 'select' || list[i].labelType === 'checkout' || list[i].labelType === 'dataScope') {
			obj[list[i].field] = []
		} else if (list[i].labelType === 'switch') {
			obj[list[i].field] = false
		} else {
			obj[list[i].field] = ""
		}
	}
	return obj
}
